package org.example.strategypatterndemo.module1.service;
/**
 * PromotionStrategy 策略接口
 * @author dingchen
 * @version 2025/05/29 12:23
**/

public interface PromotionStrategy {
    /**
     * 计算优惠金额
     * @param orderAmount 订单金额
     * @return 优惠金额
     */
    double calculateDiscount(double orderAmount);
}
